package com.ztesoft.web.filecommon.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CustomizeScriptInParamsArg {
    private String pk_name = "PARAM_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CustomizeScriptInParamsCriteria> oredCriteria;

    public CustomizeScriptInParamsArg() {
        oredCriteria = new ArrayList<CustomizeScriptInParamsCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CustomizeScriptInParamsCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CustomizeScriptInParamsCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CustomizeScriptInParamsCriteria or() {
    	CustomizeScriptInParamsCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CustomizeScriptInParamsCriteria createCriteria() {
    	CustomizeScriptInParamsCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CustomizeScriptInParamsCriteria createCriteriaInternal() {
    	CustomizeScriptInParamsCriteria criteria = new CustomizeScriptInParamsCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CustomizeScriptInParamsCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CustomizeScriptInParamsCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CustomizeScriptInParamsCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CustomizeScriptInParamsCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CustomizeScriptInParamsCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CustomizeScriptInParamsCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CustomizeScriptInParamsCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CustomizeScriptInParamsCriterion(condition, value1, value2));
        }

        public CustomizeScriptInParamsCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andParamIdIsNull() {
            addCriterion("PARAM_ID is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdIsNotNull() {
            addCriterion("PARAM_ID is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdEqualTo(Integer value) {
            addCriterion("PARAM_ID =", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotEqualTo(Integer value) {
            addCriterion("PARAM_ID <>", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdGreaterThan(Integer value) {
            addCriterion("PARAM_ID >", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PARAM_ID >=", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdLessThan(Integer value) {
            addCriterion("PARAM_ID <", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdLessThanOrEqualTo(Integer value) {
            addCriterion("PARAM_ID <=", value, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdLike(Integer value) {
            addCriterion("PARAM_ID like ", value, "PARAM_ID", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotLike(Integer value) {
            addCriterion("PARAM_ID  not like ", value, "PARAM_ID", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdLeftLike(Integer value) {
            addCriterion("PARAM_ID like ", value, "PARAM_ID", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotLeftLike(Integer value) {
            addCriterion("PARAM_ID  not like ", value, "PARAM_ID", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdRightLike(Integer value) {
            addCriterion("PARAM_ID like ", value, "PARAM_ID", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotRightLike(Integer value) {
            addCriterion("PARAM_ID  not like ", value, "PARAM_ID", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdIn(List<Integer> values) {
            addCriterion("PARAM_ID  in ", values, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotIn(List<Integer> values) {
            addCriterion("PARAM_ID not in ", values, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdBetween(Integer value1, Integer value2) {
            addCriterion("PARAM_ID between ", value1, value2, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PARAM_ID not between ", value1, value2, "PARAM_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andParamPriorityIsNull() {
            addCriterion("PARAM_PRIORITY is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityIsNotNull() {
            addCriterion("PARAM_PRIORITY is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityEqualTo(Integer value) {
            addCriterion("PARAM_PRIORITY =", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotEqualTo(Integer value) {
            addCriterion("PARAM_PRIORITY <>", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityGreaterThan(Integer value) {
            addCriterion("PARAM_PRIORITY >", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityGreaterThanOrEqualTo(Integer value) {
            addCriterion("PARAM_PRIORITY >=", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityLessThan(Integer value) {
            addCriterion("PARAM_PRIORITY <", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityLessThanOrEqualTo(Integer value) {
            addCriterion("PARAM_PRIORITY <=", value, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityLike(Integer value) {
            addCriterion("PARAM_PRIORITY like ", value, "PARAM_PRIORITY", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotLike(Integer value) {
            addCriterion("PARAM_PRIORITY  not like ", value, "PARAM_PRIORITY", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityLeftLike(Integer value) {
            addCriterion("PARAM_PRIORITY like ", value, "PARAM_PRIORITY", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotLeftLike(Integer value) {
            addCriterion("PARAM_PRIORITY  not like ", value, "PARAM_PRIORITY", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityRightLike(Integer value) {
            addCriterion("PARAM_PRIORITY like ", value, "PARAM_PRIORITY", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotRightLike(Integer value) {
            addCriterion("PARAM_PRIORITY  not like ", value, "PARAM_PRIORITY", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityIn(List<Integer> values) {
            addCriterion("PARAM_PRIORITY  in ", values, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotIn(List<Integer> values) {
            addCriterion("PARAM_PRIORITY not in ", values, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityBetween(Integer value1, Integer value2) {
            addCriterion("PARAM_PRIORITY between ", value1, value2, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andParamPriorityNotBetween(Integer value1, Integer value2) {
            addCriterion("PARAM_PRIORITY not between ", value1, value2, "PARAM_PRIORITY");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andSeqNumIsNull() {
            addCriterion("SEQ_NUM is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumIsNotNull() {
            addCriterion("SEQ_NUM is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumEqualTo(Integer value) {
            addCriterion("SEQ_NUM =", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotEqualTo(Integer value) {
            addCriterion("SEQ_NUM <>", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumGreaterThan(Integer value) {
            addCriterion("SEQ_NUM >", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("SEQ_NUM >=", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumLessThan(Integer value) {
            addCriterion("SEQ_NUM <", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumLessThanOrEqualTo(Integer value) {
            addCriterion("SEQ_NUM <=", value, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumLike(Integer value) {
            addCriterion("SEQ_NUM like ", value, "SEQ_NUM", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotLike(Integer value) {
            addCriterion("SEQ_NUM  not like ", value, "SEQ_NUM", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumLeftLike(Integer value) {
            addCriterion("SEQ_NUM like ", value, "SEQ_NUM", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotLeftLike(Integer value) {
            addCriterion("SEQ_NUM  not like ", value, "SEQ_NUM", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumRightLike(Integer value) {
            addCriterion("SEQ_NUM like ", value, "SEQ_NUM", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotRightLike(Integer value) {
            addCriterion("SEQ_NUM  not like ", value, "SEQ_NUM", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumIn(List<Integer> values) {
            addCriterion("SEQ_NUM  in ", values, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotIn(List<Integer> values) {
            addCriterion("SEQ_NUM not in ", values, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumBetween(Integer value1, Integer value2) {
            addCriterion("SEQ_NUM between ", value1, value2, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSeqNumNotBetween(Integer value1, Integer value2) {
            addCriterion("SEQ_NUM not between ", value1, value2, "SEQ_NUM");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andSourceDataIdIsNull() {
            addCriterion("SOURCE_DATA_ID is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdIsNotNull() {
            addCriterion("SOURCE_DATA_ID is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID =", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <>", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdGreaterThan(Integer value) {
            addCriterion("SOURCE_DATA_ID >", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID >=", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdLessThan(Integer value) {
            addCriterion("SOURCE_DATA_ID <", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <=", value, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID  in ", values, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID not in ", values, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID between ", value1, value2, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andSourceDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID not between ", value1, value2, "SOURCE_DATA_ID");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andXpathParamIsNull() {
            addCriterion("XPATH_PARAM is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamIsNotNull() {
            addCriterion("XPATH_PARAM is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamEqualTo(String value) {
            addCriterion("XPATH_PARAM =", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotEqualTo(String value) {
            addCriterion("XPATH_PARAM <>", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamGreaterThan(String value) {
            addCriterion("XPATH_PARAM >", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamGreaterThanOrEqualTo(String value) {
            addCriterion("XPATH_PARAM >=", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamLessThan(String value) {
            addCriterion("XPATH_PARAM <", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamLessThanOrEqualTo(String value) {
            addCriterion("XPATH_PARAM <=", value, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamLike(String value) {
            addCriterion("XPATH_PARAM like ", value, "XPATH_PARAM", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotLike(String value) {
            addCriterion("XPATH_PARAM  not like ", value, "XPATH_PARAM", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamLeftLike(String value) {
            addCriterion("XPATH_PARAM like ", value, "XPATH_PARAM", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotLeftLike(String value) {
            addCriterion("XPATH_PARAM  not like ", value, "XPATH_PARAM", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamRightLike(String value) {
            addCriterion("XPATH_PARAM like ", value, "XPATH_PARAM", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotRightLike(String value) {
            addCriterion("XPATH_PARAM  not like ", value, "XPATH_PARAM", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamIn(List<String> values) {
            addCriterion("XPATH_PARAM  in ", values, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotIn(List<String> values) {
            addCriterion("XPATH_PARAM not in ", values, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamBetween(String value1, String value2) {
            addCriterion("XPATH_PARAM between ", value1, value2, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andXpathParamNotBetween(String value1, String value2) {
            addCriterion("XPATH_PARAM not between ", value1, value2, "XPATH_PARAM");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateEqualTo(String value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotEqualTo(String value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateGreaterThan(String value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateLessThan(String value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateLessThanOrEqualTo(String value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateLeftLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotLeftLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateRightLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotRightLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateIn(List<String> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotIn(List<String> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateBetween(String value1, String value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andStateDateNotBetween(String value1, String value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }
        public CustomizeScriptInParamsCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateLeftLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotLeftLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateRightLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotRightLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

        public CustomizeScriptInParamsCriteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (CustomizeScriptInParamsCriteria) this;
        }

    }

    public static class CustomizeScriptInParamsCriteria extends GeneratedCriteria {

        protected CustomizeScriptInParamsCriteria() {
            super();
        }
    }

    public static class CustomizeScriptInParamsCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CustomizeScriptInParamsCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CustomizeScriptInParamsCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CustomizeScriptInParamsCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CustomizeScriptInParamsCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CustomizeScriptInParamsCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CustomizeScriptInParamsCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}